verbatim6#
In all record types generated by these templates a <#104#>next<#104#> field is included that is used to create linked lists of the records. Therefore, the type of a single element and a list of these elements is the same. For clarity different type names are introduced for single elements and lists.
Due to the strict syntax of <#105#>Pascal<#105#>, the template must be split up in a number of parts, one for the <#106#>var<#106#>, <#107#>type<#107#> and code sections. This is also true for the code library. Therefore, the following template files are provided:
file name | section | purpose |
pascode.pt | (code) | Code template. |
pascode.ht | (code) | external declaration template. |
paslib.pt | (code) | Library of functions. |
paslib.ht | (code) | external declaration of library functions. |
pastype.pt | type | Type declaration template. |
pasvar.pt | var | Variable declaration template. |
pasgvar.pt | var | General variable declarations. |
The files <#118#>pascode.ht<#118#> and <#119#>paslib.ht<#119#> are used for
separate compilation,
see section #sec:sepcomp#120>